package com.iOS.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.xml.soap.Text;
import java.util.Date;

public class Note {
    private int Id;
    private int userId;
    private String noteTitle;
    private String notePictures;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String noteContext;

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getNoteTitle() {
        return noteTitle;
    }

    public void setNoteTitle(String noteTitle) {
        this.noteTitle = noteTitle;
    }

    public String getNotePictures() {
        return notePictures;
    }

    public void setNotePictures(String notePictures) {
        this.notePictures = notePictures;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getNoteContext() {
        return noteContext;
    }

    public void setNoteContext(String noteContext) {
        this.noteContext = noteContext;
    }

    @Override
    public String toString() {
        return "Note{" +
                "Id=" + Id +
                ", userId=" + userId +
                ", noteTitle='" + noteTitle + '\'' +
                ", notePictures='" + notePictures + '\'' +
                ", createTime=" + createTime +
                ", noteContext='" + noteContext + '\'' +
                '}';
    }
}
